<h1>Listing merchant_product_categories</h1>

<table>
  <tr>
    <th>Merchant</th>
    <th>Category name</th>
    <th>Category description</th>
    <th>Active</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @merchant_product_categories.each do |merchant_product_category| %>
  <tr>
    <td><%= merchant_product_category.merchant %></td>
    <td><%= merchant_product_category.category_name %></td>
    <td><%= merchant_product_category.category_description %></td>
    <td><%= merchant_product_category.active %></td>
    <td><%= link_to 'Show', merchant_product_category %></td>
    <td><%= link_to 'Edit', edit_merchant_product_category_path(merchant_product_category) %></td>
    <td><%= link_to 'Destroy', merchant_product_category, confirm: 'Are you sure?', method: :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Merchant product category', new_merchant_product_category_path %>
